-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update reactivity coefficient parameters #1355
Update reactivity coefficient parameters #1355
Conversation
Treat tuples and ranges as numpy arrays also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice simplification in uniformMesh!
So, quick question. These parameters need to be in ARMI and not a downstream reactivity coeffs plugin/repo? |
And one the great debates (well, to me lol) rages on! I'm of the opinion that these (amongst, many many others) should be moved downstream. I recognize the other arguments for keeping these sorts of things on ARMI, but I currently think they should be moved downstream. Just my two cents. |
Yeah, these parameters could definitely be moved to a downstream plugin, but I was just trying to tread lightly here. The PR was mostly about fixing minor issues with default values or locations for a few parameters. I only added one new reactivity coefficients parameter, which can be migrated downstream with the others if/when that happens. |
…id-refactor-pre-1278 * terrapower/main: Move max assembly number out of global scope (terrapower#1383) Ensuring we throw an error on bad YAML files (terrapower#1358) Removing unused settings (terrapower#1393) Fixing some miscellaneous TODOs (terrapower#1392) Removing global plugin flags (terrapower#1388) Update reactivity coefficient parameters (terrapower#1355) Fixing ruff formatting of doc gallery examples (terrapower#1389) Fixing broken link (terrapower#1390) Removing unreachable code block (terrapower#1391) Removing unnecessary f-strings (terrapower#1387) Updating documentation dependencies for Python 3.11 (terrapower#1378) Adding a little code coverage to the CLIs (terrapower#1371) Remove coveragepy-lcov dependency during CI. (terrapower#1382) Reconnect logger after disconnecting in test. (terrapower#1381) Add Python 3.11 to GH Actions (terrapower#1341) Removing global variable from runLog.py (terrapower#1370) Moving the First-Time Contributors guide to the docs (terrapower#1368)
* Update rxcoeff parameter attributes. * Add thermal hydraulics parameter category. * Add rxFuelAxialExpansionPerPercent parameter.
…t-mod-empty-validation * terrapower/main: (23 commits) Allowing users to set powerDensity instead of power (terrapower#1395) Fix assemNum parameter for uniform mesh reactor. (terrapower#1398) Update to black v22.6.0 (terrapower#1396) Fixing gallery example for new working Grids (terrapower#1394) Refactor armi.reactor.grids to wider submodule; Grids as ABC (terrapower#1373) Make SFP a child of reactor. (terrapower#1349) Move max assembly number out of global scope (terrapower#1383) Ensuring we throw an error on bad YAML files (terrapower#1358) Removing unused settings (terrapower#1393) Fixing some miscellaneous TODOs (terrapower#1392) Removing global plugin flags (terrapower#1388) Update reactivity coefficient parameters (terrapower#1355) Fixing ruff formatting of doc gallery examples (terrapower#1389) Fixing broken link (terrapower#1390) Removing unreachable code block (terrapower#1391) Removing unnecessary f-strings (terrapower#1387) Updating documentation dependencies for Python 3.11 (terrapower#1378) Adding a little code coverage to the CLIs (terrapower#1371) Remove coveragepy-lcov dependency during CI. (terrapower#1382) Reconnect logger after disconnecting in test. (terrapower#1381) ...
* Update rxcoeff parameter attributes. * Add thermal hydraulics parameter category. * Add rxFuelAxialExpansionPerPercent parameter.
* Update rxcoeff parameter attributes. * Add thermal hydraulics parameter category. * Add rxFuelAxialExpansionPerPercent parameter.
What is the change?
Update the parameter definition for some reactivity coefficient parameters to get the correct uniform mesh mapping behavior (change from
ParamLocation.AVERAGE
toParamLocation.VOLUME_INTEGRATED
).Also changed some parameter defaults (
None
for list/array-like,0.0
for scalar floats).Simplified the logic for getting parameter values to be mapped in the uniform mesh converter.
Why is the change being made?
Certain parameters were not being mapped correctly because they were listed with the wrong
ParamLocation
tag.Checklist
doc/release/0.X.rst
) are up-to-date with any important changes.doc
folder.setup.py
.